﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Sharp.Domain.Model;
using Sharp.Infrastructure;

namespace Sharp.Domain.CMSBoundedContext.AritcleModule.Aggregates
{
    public partial class GatherUrlCache : AggregateRoot
    {
        public GatherUrlCache()
        {
        }

        [Index, NonUnicode, StringLength(32)]
        public string PUrlMD5 { get; set; }
        [StringLength(1024), NonUnicode]
        public string PUrl { get; set; }
        [StringLength(1024), NonUnicode]
        public string NextPageUrl { get; set; }
        public DateTime CacheTime { get; set; }

    }
}